/**
 * 
 */
package org.mspring.crm.client.model;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * @author Gao Youbo
 * @since 2012-3-6
 * 
 *        return (\w+); return get("$1");
 * 
 *        this\.(\w+) = (\w+); set("$1", $2);
 */
public class ItemModel extends BaseModelData {
    public Integer getId() {
        return get("id");
    }

    public void setId(Integer id) {
        set("id", id);
    }

    public Integer getParent() {
        return get("parent");
    }

    public void setParent(Integer parent) {
        set("parent", parent);
    }

    public String getName() {
        return get("name");
    }

    public void setName(String name) {
        set("name", name);
    }

    public Boolean getOpen() {
        return get("open");
    }

    public void setOpen(Boolean open) {
        set("open", open);
    }

    public String getView() {
        return get("view");
    }

    public void setView(String view) {
        set("view", view);
    }

    public String getIcon() {
        return get("icon");
    }

    public void setIcon(String icon) {
        set("icon", icon);
    }

    public String getIconOpen() {
        return get("iconOpen");
    }

    public void setIconOpen(String iconOpen) {
        set("iconOpen", iconOpen);
    }

    public String getFont() {
        return get("font");
    }

    public void setFont(String font) {
        set("font", font);
    }

    public Boolean getIsParent() {
        return get("isParent");
    }

    public void setIsParent(Boolean isParent) {
        set("isParent", isParent);
    }

    public Boolean getCloseable() {
        return get("closeable");
    }

    public void setCloseable(Boolean closeable) {
        set("closeable", closeable);
    }

    public Boolean getSelected() {
        return get("selected");
    }

    public void setSelected(Boolean selected) {
        set("selected", selected);
    }
}
